package wen.utils;

public class Clock {
    private final long startTime;

    public Clock() {
        this.startTime = new java.util.Date().getTime();
    }

    public int getDuration() {
        long current = new java.util.Date().getTime();
        return (int) (current - startTime);
    }
}
